% V20210224 - 8.10 GW_ADD_TEXT INCLUDE "GW.bas" % Create a page. p = GW_NEW_PAGE() % Prepare title bar string. title$ = GW_ADD_BAR_TITLE$("Text Example") % Add title to page. GW_ADD_TITLEBAR(p, title$) % Add text. GW_ADD_TEXT(p, "This is an example of the TEXT control.") % Add more text. GW_ADD_TEXT(p, "And more text.") % Now show the page. GW_RENDER(p) DO % Wait for user action. r$ = GW_WAIT_ACTION$() % Place here any necessary code to process user actions. % Example feedback. POPUP r$ % End when BACK key is pressed. UNTIL r$ = "BACK" END "End of text example."